/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package etherblocks.engine.network.messages;

import com.jme3.network.serializing.Serializable;

/**
 *
 * @author Carl
 */
@Serializable()
public class Message_BlockChunk extends NetworkMessage{

    public Message_BlockChunk(){
        
    }

    public Message_BlockChunk(int x, int y, int z, byte[] terrainPartData){
        this.x = x;
        this.y = y;
        this.z = z;
        this.terrainPartData = terrainPartData;
    }
    private int x;
    private int y;
    private int z;
    private byte[] terrainPartData;

    public int getX(){
        return x;
    }

    public int getY(){
        return y;
    }

    public int getZ(){
        return z;
    }

    public byte[] getTerrainPartData(){
        return terrainPartData;
    }
}
